<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>测试页</title>
    <link rel="stylesheet" type="text/css" href="../themes/bootstrap/cetc54.ui.all.css">

</head>
<body>
<textarea id="tt"></textarea>
<select id="cc" class="ui_comboOrigin">
    <option value="0">223</option>
    <option value="0">223</option>
    <option value="0">223</option>
</select>
<table>
    <thead style="font-family: '黑体'">
    <tr><td>测试</td></tr>
    </thead>
    <tbody style="font-family: '宋体'">
    <tr><td>测试</td></tr>
    </tbody>
</table>
</body>

<script type="text/javascript" src="../lib/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../lib/template.js"></script>
<script type="text/javascript" src="../release/cetc54.ui.all.js"></script>
<script>
    //var d=new Date(1422806400000);
    var d=new Date(undefined);
    alert(d=="Invalid Date"?"": d.format("yyyy-MM-dd"));
    $('#cc').uiCombobox();
    /**
     * 获取当前时间（日期和时间）
     * @param dateSp 日期分隔符
     * @param timeSp 时间分隔符
     * @param sp 日期和时间之间的分隔符
     * @param withMs 是否带毫秒 true带毫秒
     */
    function getDateAndTime(dateSp, timeSp, sp, withMs) {
        if (dateSp == undefined) {
            dateSp = '-';
        }
        if (timeSp == undefined) {
            timeSp = ':';
        }
        if (sp == undefined) {
            sp = ' ';
        }
        var date = new Date();
        var dateNow = date.getFullYear() + dateSp + (parseInt(date.getMonth()) + 1) + dateSp + date.getDate();
        var timeNow = date.getHours() + timeSp + date.getMinutes() + timeSp + date.getSeconds();
        if (withMs) {
            timeNow += timeSp + date.getMilliseconds();
        }
        return dateNow + sp + timeNow;
    }
</script>
</html>